<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<% String path = request.getContextPath()+"/"; %>
<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <base href="<%=path%>">
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="layui/css/font.css">
    <link rel="stylesheet" href="layui/css/xadmin.css">
    <script src="layui/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="layui/js/xadmin.js"></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="page-content" style="left: 0px;top:5px;">
    <div class="layui-fluid" style="height: 100%;">
        <div class="layui-tab tab" style="height: 100%;">
        <ul class="layui-tab-title">
            <li  class="layui-this">
                现金流表
            </li>
            <li lay-id="207d340d5b352d75319ef08e2352070e">
                企业负债表
            </li>
            <li lay-id="c26d33e1ef99275550435b0bc69fd3a9" class="">
                利润表
            </li>
            <li lay-id="c26d33e1ef99275550435b0bc69fd3a1" class="">
                年度审计报告
            </li>
        </ul>
        <div class="layui-tab-content" style="left:0px;">
            <div class="layui-tab-item  layui-show">
                <iframe tab-id="207d340d5b352d75319ef08e23520705" src="ReadyMoney/data" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
            <div class="layui-tab-item">
                <iframe tab-id="207d340d5b352d75319ef08e2352070e" frameborder="0" src="balanceSheet/data" scrolling="yes" class="x-iframe"></iframe>
            </div>
            <div class="layui-tab-item">
                <iframe tab-id="c26d33e1ef99275550435b0bc69fd3a9" frameborder="0" src="incomeStatement/data" scrolling="yes" class="x-iframe"></iframe>
            </div>
            <div class="layui-tab-item">
                <iframe tab-id="c26d33e1ef99275550435b0bc69fd3a1" frameborder="0" src="AuditReport/data" scrolling="yes" class="x-iframe"></iframe>
            </div>
        </div>
        <div id="tab_show" style="display: block;"></div>
    </div>
</div>

</body>
<script>

    layui.use(['jquery', 'form'], function () {
        var $=layui.jquery;

        $(function () {
            for(let i = 0; i < $(".x-iframe").length; i++){
                let src = $(".x-iframe")[i].src;
                src = src+"?companyId="+${companyId};
                $(".x-iframe")[i].src=src;
                //console.log(src)
            }
        });

    })




</script>
</html>